Skip to content

Fix BSeparatorView holder ownership - #23

Open
cyberman wants to merge 1 commit into
coolcoder613eb:mainfrom
Be-Quiet-Home:fix-bseparatorview-holder-ownership
Open

Fix BSeparatorView holder ownership#23
cyberman wants to merge 1 commit into
coolcoder613eb:mainfrom
Be-Quiet-Home:fix-bseparatorview-holder-ownership

Conversation

@cyberman

@cyberman cyberman commented Jul 28, 2026

Copy link
Copy Markdown

Problem

BSeparatorView uses an owning Python holder even after its lifetime has been transferred to a BWindow.

This can cause a second deletion attempt when the Python wrapper is released.

Fix

Bind BSeparatorView with a py::nodelete holder.

Validation

Verified that an attached separator can be destroyed with its window and finalized without an allocator abort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants